<?php
/**
 * Based on Andrea Mignolo's (pnts) lifestream, used with permission
 * @author pnts
 * @author Ryan McCue <cubegames@gmail.com>
 */

header('Content-Type: text/html; charset=utf-8');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title><?php template_sitename() ?></title>
<link rel="stylesheet" href="<?php template_file('style.css') ?>" type="text/css" media="screen" />

</head>
<body>

<div id="header">
	<h1><?php template_sitename() ?></h1>
</div>

<div id="content">
<ul>
<?php
if(has_items(false)) {
	while(has_items()): the_item();
?>
<li><a href="<?php the_feed_url() ?>"><img class="favicon" src="<?php the_feed_favicon() ?>" width="16" height="16" alt="<?php the_feed_name() ?>" /></a>
<span class="date"><?php the_date('format=Y.m.d') ?></span> <p class="link"><a href="<?php the_link() ?>"><?php the_title() ?></a></p>
				<?php action_bar(array(
					'header' => "<ul class='item-actions'>\n",
					'footer' => "</ul>\n",
					'before' => "<li class='action'>",
					'after' => "</li>\n"
				)) ?></li>
<?php
	endwhile;
}
?>
</ul>

</div>

<div id="footer">
<p>That's all there is.  It's a stream, and like a stream, the data flows by and is out of sight before we know it.  Just an ephemeral flow of me-bits.</p>
<p> Powered by PHP, <img class="simplepie" src="<?php template_file('lilina.png') ?>" alt="SimplePie favicon" width="16" height="16" /><a
href="http://getlilina.org">Lilina</a>, and a <a
href="http://corkd.com/wine/view/41925-Calvet_Reserve_2003_Bordeaux">bottle of wine</a>.</p>

<p>This is a <a href="http://protocol7.net">Protocol
7</a> project.  </p>

<?php template_footer(); ?>
</div>

</body>
</html>
	
